package protocol;



import java.io.Serializable;

public class Request implements Serializable{
	
	/**
	 * UID
	 */
	private static final long serialVersionUID = -4561453594770005706L;
	private commands CommandType;
	private String[] Parameter;
	

	public Request(commands comm){
		CommandType = comm;
	}
	public Request(commands comm, String[] arg){
		CommandType = comm;
		Parameter = arg;
	}
	

	public String[] getParameter(){
		return Parameter;
	}

	public commands getCommandType(){
		return CommandType;
	}
	
	public enum commands {
		LOGIN,		// 
		LOGOUT,     //
		SEARCH_ACCOUNT //
	};
}
